#!/bin/bash
apt-get -y install wakeonlan
/usr/bin/curl -s -k -B https://raw.github.com/CiscoSystems/folsom-manifests/multi-node/install_os_puppet | /bin/bash

/usr/bin/curl -s -k -B https://openstack-poc.googlecode.com/git/manifests/multi-node/site.pp > /etc/puppet/manifests/site.pp
/usr/bin/puppet apply /etc/puppet/manifests/site.pp
/etc/puppet/manifests/reset_nodes.sh
/usr/bin/puppet agent -t
